FROM   alpine:3.7
WORKDIR /srv
COPY   ./xxp_api  /srv/api

RUN cd /srv

EXPOSE 8281
ENV GOPATH /root/go
ENTRYPOINT ["./api"]